package com.bsoft.gol.hcs.task.bean.request;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * @description: 同步检验申请单列表
 * @author: chenJij@bsoft.com.cn
 * @date: 2020/12/16 12:44
 */
@XmlRootElement(name = "MsgBody")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryLabRecordRequest implements Serializable {
    private InnerVisit visit;
    private InnerLabRequest labRequest;

    @XmlElement(name = "Visit")
    public InnerVisit getVisit() {
        return visit;
    }

    public void setVisit(InnerVisit visit) {
        this.visit = visit;
    }

    @XmlElement(name = "LabRequest")
    public InnerLabRequest getLabRequest() {
        return labRequest;
    }

    public void setLabRequest(InnerLabRequest labRequest) {
        this.labRequest = labRequest;
    }

    public static class InnerVisit{
        private String visitOrganization;

        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return visitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            this.visitOrganization = visitOrganization;
        }
    }
    public static class InnerLabRequest{
        private String effectiveTimeLow;
        private String effectiveTimeHigh;
        //4 已执行
        private String requestStatus;
        private Integer pageSize;
        private Integer pageNo;

        @XmlElement(name = "EffectiveTimeLow")
        public String getEffectiveTimeLow() {
            return effectiveTimeLow;
        }

        public void setEffectiveTimeLow(String effectiveTimeLow) {
            this.effectiveTimeLow = effectiveTimeLow;
        }

        @XmlElement(name = "EffectiveTimeHigh")
        public String getEffectiveTimeHigh() {
            return effectiveTimeHigh;
        }

        public void setEffectiveTimeHigh(String effectiveTimeHigh) {
            this.effectiveTimeHigh = effectiveTimeHigh;
        }

        @XmlElement(name = "RequestStatus")
        public String getRequestStatus() {
            return requestStatus;
        }

        public void setRequestStatus(String requestStatus) {
            this.requestStatus = requestStatus;
        }

        @XmlElement(name = "PageSize")
        public Integer getPageSize() {
            return pageSize;
        }

        public void setPageSize(Integer pageSize) {
            this.pageSize = pageSize;
        }

        @XmlElement(name = "PageNo")
        public Integer getPageNo() {
            return pageNo;
        }

        public void setPageNo(Integer pageNo) {
            this.pageNo = pageNo;
        }
    }
}
